package com.google.code.irouter.portal.client.dashboard.main.center.managers.relation.browser.editor.detail.command;

import com.google.code.irouter.portal.client.dashboard.main.center.managers.relation.Browser;
import com.gwtext.client.core.EventObject;
import com.gwtext.client.core.Ext;
import com.gwtext.client.widgets.Button;
import com.gwtext.client.widgets.event.ButtonListenerAdapter;

public final class CancelListener extends ButtonListenerAdapter {

	@Override
	public void onClick(Button button, EventObject e) {
		Browser browser = (Browser) Ext.getCmp(Browser.class.getName());
		browser.setActiveItem(0);
    }
}
